// 引入类型
import type { RouterOptions, Router } from './types'
import { createRouterMatcher } from "./matcher"
export function createRouter(options: RouterOptions): Router{

    // 获取 history 对象
    const routerHistory = options.history

    // 创建 matcher 对象
    const matcher = createRouterMatcher(options.routes)


    return {} as Router
}
